
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
  <meta charset="UTF-8">
  <title>index</title>
</head>
<body>
<h2>文件上传</h2>
<form name="onfile"  action="onfiles2" method="post" enctype="multipart/form-data">
  <input type="file" name="img"><br>
  <input type="file" name="img"><br>
  <input type="file" name="img"><br>
  <input type="file" name="img"><br>
  <input type="submit" value="提交">
</form>
</body>
</html>